﻿// Copyright (c) 2014 Morten Bakkedal
// This code is published under the MIT License.

using System;

namespace FuncLib.DualFunctions.Expressions
{
	internal class FunctionExpression : Expression
	{
		private string identifier;

		public void Link(string identifier)
		{
			this.identifier = identifier;
		}

		public override string GenerateCode()
		{
			return "a[" + identifier + "]";
		}
	}
}
